package com.fqgj.sentry.policy.dao;

import com.fqgj.common.base.BaseMapper;
import com.fqgj.sentry.policy.entity.PcFunctionColumnEntity;

import java.util.List;

/**
 * User: kennykong
 * Date: 2017-12-05
 * Time: 16:10:10.529
 */

public interface PcFunctionColumnDao extends BaseMapper<PcFunctionColumnEntity> {

    /**
     * 根据函数id 查询关联字段
     * @param functionId
     * @return
     */
    List<PcFunctionColumnEntity> findByFunctionId(Long functionId);



    /**
     * 删除
     * @param functionId
     * @return
     */
    Boolean deleteByFunctionId(Long functionId);

    /**
     * 删除
     * @param functionId
     * @return
     */
    Boolean updateDeletedByFunctionId(Long functionId);
}